<template>
	<!--<div class='container-padding' v-if="orderDetail != null">
		<nav-header>
			<div slot="right" @click="openXc">相册</div>
		</nav-header>
		<goods-payed v-if="this.$route.params.is_payed == 1 "></goods-payed>
		<goods-to-pay v-else></goods-to-pay>
		<footor-buy-bar v-if="this.$route.params.is_payed == 0">
		</footor-buy-bar>-->
	</div>
</template>

<script>
//	import header from "@/components/header/header"
//	import { mapGetters, mapState, mapActions, mapMutations } from 'vuex';
//	import goodsOrderItem from "@/pages/order-detail/components/goods-order-item"
//	import footorBuyBar from "@/pages/order-detail/components/footor-buy-bar"
//	import goodsToPay from "@/pages/order-detail/goods-to-pay/goods-to-pay"
//	import goodsPayed from "@/pages/order-detail/goods-payed/goods-payed"
//
//	export default {
//		data() {
//			return {
//				value: false
//			}
//		},
//		computed: {
//			...mapState(['orderDetail'])
//		},
//		components: {
//			"nav-header": header,
//			"goods-to-pay": goodsToPay,
//			"goods-payed": goodsPayed,
//			"footorBuyBar": footorBuyBar
//		},
//		mounted() {
//
//		},
//		created() {
//			// 进入之前先清除之前的订单信息
//			this.$store.state.orderDetail = null;
//			console.log(this.$route.params.all_no.substring(0, this.$route.params.all_no.indexOf("=")))
//			let order_label = this.$route.params.order_label;
//			let param = {
//				order_label: order_label,
//				member_id: 100746
//			}
//			if(this.$route.params.is_payed == 1) {
//				if(this.$route.params.all_no.substring(0, this.$route.params.all_no.indexOf("=")) == "order_id") {
//					param.order_id = this.$route.params.all_no.substring(this.$route.params.all_no.indexOf("=") + 1, this.$route.params.all_no.length);
//					console.log(param)
//				} else {
//					param.all_no = this.$route.params.all_no.substring(this.$route.params.all_no.indexOf("=") + 1, this.$route.params.all_no.length);
//				}
//				if(order_label == 1 || order_label == 2 || order_label == 3) {
//					this.getOrderDetail(param);
//				} else {
//					this.getOrderDetailOther(param);
//				}
//			} else {
//				if(this.$route.params.all_no.substring(0, this.$route.params.all_no.indexOf("=")) == "order_id") {
//					param.order_id = this.$route.params.all_no.substring(this.$route.params.all_no.indexOf("=") + 1, this.$route.params.all_no.length);
//					console.log(param)
//				} else {
//					param.all_no = this.$route.params.all_no.substring(this.$route.params.all_no.indexOf("=") + 1, this.$route.params.all_no.length);
//				}
//				this.getOrderDetail(param);
//			}
//		},
//		methods: {
//			...mapActions(['getOrderDetail', "getOrderDetailOther"]),
//			...mapMutations(['countDownTime']),
//			openXc() {
//				plus.gallery.pick(function(path) {
//					
//				}, function(err) {
//					plus.nativeUI.alert("Failed: " + err.message);
//				});
//			}
//		}
//	}
</script>

<style scoped lang="scss">
</style>